[QUIZ] Test your understanding of SQL - Part 3
- Question 1: In SQL, what is the ALTER TABLE clause used for?
- Use to add, delete and modify columns in an existing table.
- Used to insert data into tables in a database.
- Use to delete the table in the database.
- Used to delete data from tables in the database.
-
- Question 2: The HAVING clause can only be used with .
- INSERT statement
- JOIN statement
- DELETE statement
- SELECT statement
-
- Question 3: Which of the following statements is true?
- TRUNCATE TABLE must be used in conjunction with the WHERE clause.
- TRUNCATE TABLE has the same function as the DELETE command but has no WHERE clause and is used to delete records from an existing table in SQL.
- TRUNCATE TABLE deletes the table from the database
-
- Question 4: Which of the following SQL statements is correct?
- SELECT * FROM Sales WHERE Date BETWEEN '10 / 12/2005 'AND' January 01, 2006 '
- SELECT FROM Sales WHERE Date BETWEEN '10 / 12/2005 'AND' January 01, 2006 '
- SELECT FROM Sales WHERE Date BETWEEN ('10/12/2005', 'January 01, 2006')
-
- Question 5: What is the CREATE TABLE statement used for?
- Create a new database table
- Create a stored procedure
- Create database view
-
- Question 6: RDBMS stands for .?
- Real Database Management System
- Relational Database Management System
- Read Database Master System
-
- Question 7: Which of the following functions is a set function in SQL?
- AVG
- WOOL
- JOIN
- LEFT
-
- Question 8: Which of the following SQL statements takes the 'Success' string?
- SELECT 'Success'
- SELECT 'Success'
- SELECT LEFT ('Success is all I need.', 15)
-
- Question 9: What does the following SQL statement do:
SELECT Khachhang, COUNT(Dondathang) FROM Sales
GROUP BY Khachhang
HAVING COUNT(Dondathang) >5
- Select all customers from the Sales table that made more than 5 orders.
- Select all customers from the Sales table.
- Select the total number of orders from the Sales table, if this number is greater than 5
-
- Question 10: Which of the following SQL statements will select all records with all their columns from a table named Sales?
- DELETE FROM Sales
- SELECT * FROM SALES WHERE OrderID <1
- SELECT * FROM Sales
-
- Question 11: Which of the following SQL statements counts the records in the 'Sales' table?
- SELECT COUNT (*) FROM Sales
- SELECT COUNT (*) IN Sales
- SELECT NUM () FROM Sales
- SELECT COUNTER (*) FROM Sales
-
- Question 12: What is the INSERT command used to do?
- To retrieve data.
- To insert data.
- To modify data.
-
- Question 13: Which of the following SQL statements deletes all records in the Sales table?
- DELETE FROM Sales
- DELETE Sales
- DELETE * FROM Sales
- DELETE ALL Sales
-
- Question 14: Which element is behind the WHERE clause in SQL?
- The table name is used to retrieve the record.
- Conditions need to be met for returned goods.
- List of selected columns
-
- Question 15: Which of the following SQL statements correctly writes the syntax?
- SELECT * FROM Table1 WHERE Column1 => 10
- SELECT * FROM Table1 WHERE Column1 = = 10
- SELECT * FROM Table1 WHERE Column1> = 10
-
4 ★ | 1 Vote
You should read it
- [QUIZ] Test your understanding of SQL - Part 1
- [QUIZ] Test your understanding of SQL - Part 6
- [QUIZ] Test your understanding of SQL - Part 7
- [QUIZ] Check your understanding of SQL - Part 2
- Test about database security P8
- What do you know about NoSQL Database?
- eQuiz - Multiple choice test on SQL
- Test about database security P12
May be interested
- Multiple choice quiz about Python - Part 10following the previous test, part 10 returned with the python function. let's try with quantrimang to try the 10 questions below.
- eQuiz - Quiz on Core Java - Part 1in the quiz below, you will be able to challenge the most basic questions related to core java - one of the most popular programming languages today.
- Excel computer test - Part 3after the second part of the excel test, the network administrator will continue to send you the 3rd part of the quiz series on this topic. let's work together to test your knowledge.
- eQuiz - Multiple choice test on PHP Practice - part 1in the quiz below, we will introduce you to part 1 of the test series of basic knowledge about php practive with 15 questions.
- Test your level of understanding of Office 2010 - Part 1in the article below, the network administrator will send you to read interesting quiz questions about office so you can assess your level of understanding about this software.
- eQuiz - Multiple choice test on programming language C - part 1this is part 1 of a series of tests on knowledge of c programming language, in total there will be 15 questions with no time for answering each sentence.
- The test has a Word answer - Part 7below is part 7 of the word quiz series. hopefully, these quizzes will help you partially test your knowledge for a long time.
- Multiple choice quiz about Python - Part 7following the previous test set, part 7 continues with the topic built-in functions in python. let's try with quantrimang to try the 10 questions below.
- Multiple choice quiz about Python - Part 5if you are interested in learning about the python programming language, the following quiz of network administrator will provide useful knowledge for your learning.
- Testing computer science knowledge, doing little for fun (part 2)the series of computer science quiz questions covers many areas with a set of 4 answers and answers at the bottom of the page. after part 1, network administrator continues to introduce part 2.